cssstyleproperty: Make it possible to query CSS opacity with gtk_style_context_get()
authorCarlos Garcia Campos <cgarcia@igalia.com>
Thu, 21 Jan 2016 13:36:42 +0000 (14:36 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Thu, 21 Jan 2016 13:58:57 +0000 (14:58 +0100)
commit0f7b4dad0f6cef80172638efb019ce094d7eadee
treed32962c62caf69594260563e51326175bb719192
parentbd4aaa12851512a2e12736111fc41756c367c327
cssstyleproperty: Make it possible to query CSS opacity with gtk_style_context_get()

Add a query implementation to opacity property. Also fix the assert in
gtk_css_style_property_register() to allow registering properties with
query but without assign function.

https://bugzilla.gnome.org/show_bug.cgi?id=760933
gtk/gtkcssstylepropertyimpl.c